package com.wwj.auction.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author wwj
 * @since 2021-08-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="ShopOrder对象", description="")
public class ShopOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "收货地址")
    private String address;

    @ApiModelProperty(value = "支付方式，0为货到付款，1为在线支付")
    private Integer payType;

    @ApiModelProperty(value = "商品首页展示图")
    private String shopIndexImage;

    @ApiModelProperty(value = "商品名")
    private String shopName;

    @ApiModelProperty(value = "商品价格 ")
    private BigDecimal shopPrice;

    @ApiModelProperty(value = "商品运费")
    private BigDecimal shopFreight;

    @ApiModelProperty(value = "买家姓名")
    private String name;

    @ApiModelProperty(value = "买家手机号")
    private String phone;

    @ApiModelProperty(value = "保证金")
    private BigDecimal earnestMoney;

    @ApiModelProperty(value = "订单号")
    private String orderNo;

    @ApiModelProperty(value = "买家id")
    private Integer userId;

    @ApiModelProperty(value = "商品id")
    private Integer shopId;


}
